using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class page : System.Web.UI.MasterPage
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            dst_pbTableAdapters.pb_optionTableAdapter optionAdapter =
                new dst_pbTableAdapters.pb_optionTableAdapter();
            lnkHome.Text = (optionAdapter.GetOptionValueByName("title")).ToString();
            lnkHome.NavigateUrl = (optionAdapter.GetOptionValueByName("base_url")).ToString();
        }
    }
}
